package com.common.retrofit.service;


import com.common.bean.SubmitListBagsBean;
import com.common.retrofit.ShuangTu.OrderBean;
import com.common.retrofit.ShuangTu.QueryResultBean;

import okhttp3.MultipartBody;
import okhttp3.RequestBody;
import retrofit2.http.Body;
import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.GET;
import retrofit2.http.HEAD;
import retrofit2.http.Header;
import retrofit2.http.Multipart;
import retrofit2.http.POST;
import retrofit2.http.Part;
import retrofit2.http.Path;
import retrofit2.http.Query;
import rx.Observable;

/**
 * Created by Administrator on 2017/10/12.
 */

public interface ShuangTuService {
    //token
    @POST("auth")
    Observable<Object> auth(@Body RequestBody route);

    //查询码单
    @POST("ZHY_FN_ST_MARK_BARCODE_NOTICE")
    Observable<QueryResultBean> ZHY_FN_ST_MARK_BARCODE_NOTICE(@Body RequestBody route);

    //查询码单
    @POST("spapplylist")
    Observable<OrderBean> spapplylist(@Body RequestBody route);
    @POST("spapplypost")
    Observable<Object> spapplypost(@Body RequestBody route);

    //扫完箱包后确认
    @POST("ZHY_FN_ST_MARK_BARCODE_UPLOAD")
    Observable<SubmitListBagsBean> ZHY_FN_ST_MARK_BARCODE_UPLOAD(@Body RequestBody route);

/*    @FormUrlEncoded
    @POST("login")
    Observable<Object> login(@Field("loginJson") String loginJson);*/
    @POST("login")
    Observable<Object> login(    @Body RequestBody route);



}
